package ua.com.alus.resvac.crm.services.spring;

import org.springframework.security.access.annotation.Secured;
import ua.com.alus.resvac.crm.domen.entities.Resume;

import java.util.List;

/**
 * ResumeService
 * <p/>
 * Created by Usatov Alexey
 */
public interface ResumeService {
    @Secured("ROLE_RESUME")
    void saveResume(Resume resume);

    Resume getResume(String resumeUuid);

    List<Resume> getResumes(String accountUuid);

    @Secured("ROLE_RESUME")
    void deleteResumeFile(String uuid);

    List<String> getResumeFilesUuid(String vacancyUuid);
}
